package com.sctvcloud.bazhong.http;

import android.content.Context;

/**
 * Created by Ly on 2016/11/29.
 */
public interface NetServer {
    <T> void get(String method, INetCallback<T> callback);

    <T> void post(String method, Params params, INetCallback<T> callback);

    void setContext(Context context);

    boolean hasSetContext();
}
